@import "@styles/theme.scss";

.order {
  position: relative;
  background: #f4f4f4;
}

.order-list__tab {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 80px;
  background: $white;
  border-bottom: 1px solid $border-color;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  margin-bottom: 10px;
}

.order-list-tab__item {
  position: relative;
  margin: 0 27px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  @include eject(display, inline-block);

  &-txt {
    padding: 0 8px;
    height: 80px;
    color: $text-color;
    font-size: $font-size-base;
    line-height: 80px;
    @include eject(display, inline-block);
  }

  &-txt--active {
    color: $primary-color;
  }

  &-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: $primary-color;
  }
}

.order-list__list {
  padding-top: 90px;
}
